<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <div class="mydiv">
  <router-link to="/list">模块1</router-link> |
  <router-link to="/list2">模块2</router-link>
  <hr>
  <RouterView />
  </div>
</template>

<style scoped>
.mydiv{
  margin-left: 50px;
}
</style>
